/*
 * $Id$
 */
package py.windmill.resolution;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author myang
 */
public class TilesMap {
   private Map<String, Object> _map = new HashMap();

   public static final TilesMap empty() {
        return new TilesMap();
   }

   public TilesMap() {

   }

   public TilesMap(final String key, final Object val) {
       put(key, val);
   }

   public Map<String, Object> map() {
       return _map;
   }

   /**
    * 
    * @param key
    * @param val
    * @return 
    */
   public final TilesMap put(final String key, final Object val) {
       _map.put(key, val);
       return this;
   }
}
